import Layout from '@/layout'

export default {
  path: '/error',
  component: Layout,
  redirect: 'noRedirect',
  name: 'ErrorPages',
  hidden: true,
  meta: {
    title: '错误页面',
    icon: ''
  },
  children: [
    {
      path: '401',
      component: () => import('@/views/errorPage/401'),
      name: 'Page401',
      meta: { title: '401', noCache: true }
    },
    {
      path: '404',
      component: () => import('@/views/errorPage/404'),
      name: 'Page404',
      meta: { title: '404', noCache: true }
    },
    {
      path: '403',
      component: () => import('@/views/errorPage/403'),
      name: 'Page403',
      meta: { title: '403', noCache: true }
    },
    {
      path: '500',
      component: () => import('@/views/errorPage/500'),
      name: 'Page500',
      meta: { title: '500', noCache: true }
    },
    {
      path: '5XX',
      component: () => import('@/views/errorPage/5XX'),
      name: 'Page5XX',
      meta: { title: '5XX', noCache: true }
    }
  ]
}
